package com.ruoyi.safety.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; //添加
import com.ruoyi.safety.domain.PointRelationshipDict;

/**
 * 测点关联关系字典Mapper接口
 * 
 * @author ruoyi
 * @date 2024-11-06
 */
public interface PointRelationshipDictMapper extends BaseMapper<PointRelationshipDict> //修改
{
    /**
     * 查询测点关联关系字典
     * 
     * @param pointRelationshipId 测点关联关系字典主键
     * @return 测点关联关系字典
     */
    public PointRelationshipDict selectPointRelationshipDictByPointRelationshipId(String pointRelationshipId);

    /**
     * 查询测点关联关系字典列表
     * 
     * @param pointRelationshipDict 测点关联关系字典
     * @return 测点关联关系字典集合
     */
    public List<PointRelationshipDict> selectPointRelationshipDictList(PointRelationshipDict pointRelationshipDict);

    /**
     * 新增测点关联关系字典
     * 
     * @param pointRelationshipDict 测点关联关系字典
     * @return 结果
     */
    public int insertPointRelationshipDict(PointRelationshipDict pointRelationshipDict);

    /**
     * 修改测点关联关系字典
     * 
     * @param pointRelationshipDict 测点关联关系字典
     * @return 结果
     */
    public int updatePointRelationshipDict(PointRelationshipDict pointRelationshipDict);

    /**
     * 删除测点关联关系字典
     * 
     * @param pointRelationshipId 测点关联关系字典主键
     * @return 结果
     */
    public int deletePointRelationshipDictByPointRelationshipId(String pointRelationshipId);

    /**
     * 批量删除测点关联关系字典
     * 
     * @param pointRelationshipIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePointRelationshipDictByPointRelationshipIds(String[] pointRelationshipIds);

    PointRelationshipDict selectPointRelationshipDictByCode(String datum);
}
